s = "alexcnb,wusirnb,ritian,egon,taibai,qiuqiu"
# print(len(s))  # 公用的  工厂函数 -- 所有类型都能用  他俩除外int -  bool
# count = 0
# while count < len(s):
#     print(s[count])  # s[0] s[1] s[2]
#     count += 1


# for 循环

# for i in s:
#     print(i)

# for 关键字
# i 变量
# in 关键字
# s 可迭代对象  int - bool


# for a in "alex":
#     print(a)
#     # pass  # 过 -- 占位符
#     # ...   # 过
# print(a)
# s = range(1,10)  # 面试大坑  python2 和 python3
# print(s)  # 范围

# for i in  range(1,10,2): # (起始位置，终止位置,步长)
#     # range(10) 指定了终止位置，起始位置默认是0
#     print(i)

# for i in range(100,-11,-1):
#     print(i)

# for i in range(1):
#     print(i)